# Makefile rules for cygwin gcc
# Wang Wen, Albert <jawangwen@gmail.com>

CC     := gcc
CFLAGS := -Wall -g

DIR_LIB     := ${DIR_ROOT}/library
DIR_PRODUCT := ${DIR_ROOT}/product
DIR_CASES   := ${DIR_ROOT}/cases

INCLUDE += -I"${DIR_ROOT}" \
           -I"${DIR_LIB}" \
           -I"${DIR_PRODUCT}" \
           -I"${DIR_CASES}" \

.c.o:
	gcc -o $@ -c $? -std=c99 $(CFLAGS) $(INCLUDE)
